package com.example.base.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SysJobVo {

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @NotBlank(message = "任务名称不得为空")
    @ApiModelProperty(value = "任务名称")
    private String jobname;

    @NotBlank(message = "cron不得为空")
    @ApiModelProperty(value = "cron执行时间")
    private String cron;

    @NotBlank(message = "任务执行类不得为空")
    @ApiModelProperty(value = "执行类型")
    private String type;

    @ApiModelProperty(value = "方法反射类")
    private String methodclazz;

    @ApiModelProperty(value = "方法名称")
    private String methodname;

    @NotBlank(message = "任务分组名不得为空")
    @ApiModelProperty(value = "分组名称")
    private String groupName;

    @ApiModelProperty(value = "任务执行类")
    @NotBlank(message = "任务执行类不得为空")
    private String clazz;

    @ApiModelProperty(value = "注解名称")
    private String annotationName;

    @ApiModelProperty(value = "执行参数")
    private String params;

    @NotBlank(message = "应用名称不得为空")
    private String appName;

    private String appClass;

}
